Remove protocol and trailing slash from URL